/******************************************************************************
//             INTEL CORPORATION PROPRIETARY INFORMATION
//  This software is supplied under the terms of a license agreement or
//  nondisclosure agreement with Intel Corporation and may not be copied
//  or disclosed except in accordance with the terms of that agreement.
//        Copyright (c) 2000-2001 Intel Corporation. All Rights Reserved.
//
//  Description:
//      Intel(R) JPEG library for X platform 
//
********************************************************************************/
#ifndef _IJDSCAN_H
#define _IJDSCAN_H


IJXRESULT ijBuildScanTables_P(int *ppFreq[2],
                             IJBUFFER *pIJXBuffer,
                             IJBITTREAMSTATE *pStream,
                             IJENCODESTATE *pEncodeState);

IJXRESULT ijInitScanSpecInv(IJBITTREAMSTATE *pStream,
                           IJDECODESTATE *pDecodeState);

IJXRESULT ijDecodeScanData_Baseline(IJBITTREAMSTATE  *pStream,
                                    IJDECODESTATE    *pDecodeState);

IJXRESULT ijDecodeScanData_Progressive(IJBITTREAMSTATE  *pStream,
                                       IJDECODESTATE *pDecodeState);

IJXRESULT ijDecodeScanData_Motion( IJBITTREAMSTATE  *pStream,
                                   IJDECODESTATE    *pDecodeState);

///////////////////////////////////////
#ifdef _MOTION_DIFF
IJXRESULT ijDecodeScanData_Motion_Diff( Ipp8u *pImageData,
                                        int   nImageStep,
                                        IJBUFFER *pIJXBuffer,
                                        IJBITTREAMSTATE  *pStream,
                                        IJDECODESTATE    *pDecodeState);
#endif
///////////////////////////////////////

IJXRESULT ijIntiDecodeCoeff(IJDECODESTATE *pDecodeState);
#endif

/* EOF */
